import request from '@/utils/request'

export function waterData(year) {
  return request({
    url: '/api/data/water/'+year,
    method: 'get',
    params: {}
  })
}
export function explain(area) {
  return request({
    url: '/api/historyData/explain',
    method: 'get',
    params: {
      area
    }
  })
}
export function historyData(obj) {
  return request({
    url: '/api/historyData',
    method: 'post',
    data: {
      ...obj
    }
  })
}
export function areaDesc() {
  return request({
    url: '/api/history/areaDesc',
    method: 'get',
    params: {}
  })
}
export function ccll(obj) {
  return request({
    url: '/api/history/ccll',
    method: 'post',
    data: {
      ...obj
    }
  })
}



